const UTIL = require('./util')

function getIssueByIid(iid, type = 'single') {
  return UTIL.request(UTIL.buildIssuesUrl(type, iid))
}

module.exports = { getIssueByIid }
